package com.xjk.shiro.mappers;

import com.xjk.shiro.entity.User;
import com.xjk.shiro.entity.UserRoles;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author: XJK
 */
@Mapper
public interface UserMapper {

    void insertUser(@Param("user") User user);

    User findUserByUsername(@Param("username") String username);

    UserRoles findUserRolesByUsername(@Param("username") String username);

}
